[Flink] Fix SystemTableSource unordered flag for bucket-unaware system talbes#7434
Merged
JingsongLi merged 2 commits intoapache:masterfrom Mar 17, 2026
Merged
[Flink] Fix SystemTableSource unordered flag for bucket-unaware system talbes#7434JingsongLi merged 2 commits intoapache:masterfrom
JingsongLi merged 2 commits intoapache:masterfrom
Conversation
jerry-024
added a commit
to jerry-024/paimon
that referenced
this pull request
Mar 18, 2026
* upstream/master: [avro] add avro support for vector type (apache#7449) [core] Refactor vector store related codes (apache#7447) [python] Add json format for CLI table read and list-partitions (apache#7452) [core] Refine btree index entry scanning API (apache#7450) [python] Introduce branch_manager API for pypaimon (apache#7448) [core] Introduce vector-store for data-evolution table (apache#7240) [core] Do not delete manifest files on false commit result (apache#7441) [Flink] Fix SystemTableSource unordered flag for bucket-unaware system talbes (apache#7434)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #7326
Previously, SystemTableSource always passed unordered=false when creating
ContinuousFileStoreSource, causing PreAssignSplitAssigner to assign all
splits to a single subtask for bucket=-1 (BUCKET_UNAWARE) tables. This
resulted in severe data skew where only one subtask received all records.
Fix this by introducing isUnordered() to derive the correct value from
the underlying table's bucket configuration, consistent with the logic
in FlinkSourceBuilder. For BUCKET_UNAWARE tables (bucket=-1), unordered
is set to true so FIFOSplitAssigner distributes splits across all tasks.
Tests
Ci